all: gui.cpp wled.cpp wled.h readurb.cpp
	sb2 /opt/9263/rootfs/usr/bin/moc wled.h -o moc_wled.cpp
	sb2 g++ moc_wled.cpp wled.cpp gui.cpp readurb.cpp -Wall -O2 -DNO_DEBUG `sb2 pkg-config --cflags --libs QtCore QtGui`
	mv a.out /opt/9263/rootfs/ledgui
clean:
	rm *.o -f
	rm moc_wled.cpp -f
